package com.zmj.mapper;

import com.zmj.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    public  List<Book> selAll( int flag);
    public  boolean add(Book book);
    public  boolean del (@Param(value = "flag") int flag,@Param(value = "id") int id);
    public  boolean update(Book book);
    public  Book selOne(int id);
}
